package com.firexxx.study.designmodel.visitor;

/**
 * @description: TODO
 * @author: zhuangzhang2
 * @date: 2020-12-24 14:30
 */
public class RootElement implements IElement {

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

    public void operation() {
        System.out.println("root operation");
    }

}
